package com.wz.service.impl;


import com.wz.bean.User;
import com.wz.common.business.BaseServiceImpl;
import com.wz.dao.UserDao;
import com.wz.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * <p>Project: wz_api - UserServiceImpl
 * <p>Powered by pisces On 2022-01-13 15:17:43
 * <P>Created by IntelliJ IDEA
 *
 * @author ww606851@163.com
 * @version 1.0
 * @description:
 * @since 8
 */

@Service
public class UserServiceImpl extends BaseServiceImpl<User, UserDao> implements UserService {

	@Autowired
	UserDao userDao;

	@Transactional
	@Override
	public Map queryByName(String username) {
		return userDao.queryByName(username);
	}
}
